package com.spring.service;

import com.spring.pojo.SysModule;
import com.spring.pojo.SysUser;

import java.util.List;

/**
 * @author tang
 */
public interface UserService {
    /**
     * build User by name and psw
     * @param name
     * @param psw
     * @return SysUser
     */
    public SysUser login(String name, String psw);
    public List<SysModule> selectModuleByUserId(String userId);
}
